{smcl}
{com}{sf}{ul off}{txt}{.-}
      name:  {res}<unnamed>
       {txt}log:  {res}\\file\Usersw$\wrr15\Home\My Documents\My Files\WU\CHAPTER2\blogresults.smcl
  {txt}log type:  {res}smcl
 {txt}opened on:  {res}11 Jan 2022, 08:46:42
{txt}
{com}. 
. use "replication dta_20211018(ts10 raw).dta"
{txt}
{com}. 
. drop if year>2004 
{txt}(0 observations deleted)

{com}. drop if year<1960
{txt}(780 observations deleted)

{com}. 
. // Create squared variable
. gen re_gdpsq = re_gdp^2
{txt}
{com}. 
. // Create missing value variable
. gen lemiss = (re_le == .)
{txt}
{com}. 
. rename re_le le
{res}{txt}
{com}. rename re_ts10 ts10
{res}{txt}
{com}. rename re_gdpsq gdpsq
{res}{txt}
{com}. rename re_gdp gdp
{res}{txt}
{com}. rename re_edu edu
{res}{txt}
{com}. rename lre_phealth phealth
{res}{txt}
{com}. rename lre_thealth thealth
{res}{txt}
{com}. rename lre_im im
{res}{txt}
{com}. 
. // Show missing data
. mdesc

{txt}    Variable{col 17}{c |}     Missing          Total     Percent Missing
{hline 16}{c +}{hline 47}
           year{col 17}{c |} {res}          0            540           0.00
            {txt}cty{col 17}{c |} {res}          0            540           0.00
           {txt}ts10{col 17}{c |} {res}        130            540          24.07
             {txt}id{col 17}{c |} {res}          0            540           0.00
            {txt}gdp{col 17}{c |} {res}          0            540           0.00
             {txt}le{col 17}{c |} {res}         58            540          10.74
            {txt}edu{col 17}{c |} {res}        432            540          80.00
      {txt}phealth_r{col 17}{c |} {res}        109            540          20.19
      {txt}thealth_r{col 17}{c |} {res}        109            540          20.19
          {txt}hom_r{col 17}{c |} {res}         68            540          12.59
          {txt}sui_r{col 17}{c |} {res}         69            540          12.78
            {txt}cpi{col 17}{c |} {res}         12            540           2.22
          {txt}re_im{col 17}{c |} {res}         33            540           6.11
        {txt}phealth{col 17}{c |} {res}        120            540          22.22
        {txt}thealth{col 17}{c |} {res}        120            540          22.22
             {txt}im{col 17}{c |} {res}         33            540           6.11
          {txt}gdpsq{col 17}{c |} {res}          0            540           0.00
         {txt}lemiss{col 17}{c |} {res}          0            540           0.00
{txt}{hline 16}{c +}{hline 47}

{com}. 
. // Create dummy variables
. tab year, gen(year)

       {txt}year {c |}      Freq.     Percent        Cum.
{hline 12}{c +}{hline 35}
       1960 {c |}{res}         12        2.22        2.22
{txt}       1961 {c |}{res}         12        2.22        4.44
{txt}       1962 {c |}{res}         12        2.22        6.67
{txt}       1963 {c |}{res}         12        2.22        8.89
{txt}       1964 {c |}{res}         12        2.22       11.11
{txt}       1965 {c |}{res}         12        2.22       13.33
{txt}       1966 {c |}{res}         12        2.22       15.56
{txt}       1967 {c |}{res}         12        2.22       17.78
{txt}       1968 {c |}{res}         12        2.22       20.00
{txt}       1969 {c |}{res}         12        2.22       22.22
{txt}       1970 {c |}{res}         12        2.22       24.44
{txt}       1971 {c |}{res}         12        2.22       26.67
{txt}       1972 {c |}{res}         12        2.22       28.89
{txt}       1973 {c |}{res}         12        2.22       31.11
{txt}       1974 {c |}{res}         12        2.22       33.33
{txt}       1975 {c |}{res}         12        2.22       35.56
{txt}       1976 {c |}{res}         12        2.22       37.78
{txt}       1977 {c |}{res}         12        2.22       40.00
{txt}       1978 {c |}{res}         12        2.22       42.22
{txt}       1979 {c |}{res}         12        2.22       44.44
{txt}       1980 {c |}{res}         12        2.22       46.67
{txt}       1981 {c |}{res}         12        2.22       48.89
{txt}       1982 {c |}{res}         12        2.22       51.11
{txt}       1983 {c |}{res}         12        2.22       53.33
{txt}       1984 {c |}{res}         12        2.22       55.56
{txt}       1985 {c |}{res}         12        2.22       57.78
{txt}       1986 {c |}{res}         12        2.22       60.00
{txt}       1987 {c |}{res}         12        2.22       62.22
{txt}       1988 {c |}{res}         12        2.22       64.44
{txt}       1989 {c |}{res}         12        2.22       66.67
{txt}       1990 {c |}{res}         12        2.22       68.89
{txt}       1991 {c |}{res}         12        2.22       71.11
{txt}       1992 {c |}{res}         12        2.22       73.33
{txt}       1993 {c |}{res}         12        2.22       75.56
{txt}       1994 {c |}{res}         12        2.22       77.78
{txt}       1995 {c |}{res}         12        2.22       80.00
{txt}       1996 {c |}{res}         12        2.22       82.22
{txt}       1997 {c |}{res}         12        2.22       84.44
{txt}       1998 {c |}{res}         12        2.22       86.67
{txt}       1999 {c |}{res}         12        2.22       88.89
{txt}       2000 {c |}{res}         12        2.22       91.11
{txt}       2001 {c |}{res}         12        2.22       93.33
{txt}       2002 {c |}{res}         12        2.22       95.56
{txt}       2003 {c |}{res}         12        2.22       97.78
{txt}       2004 {c |}{res}         12        2.22      100.00
{txt}{hline 12}{c +}{hline 35}
      Total {c |}{res}        540      100.00
{txt}
{com}. tab id, gen (id)

         {txt}id {c |}      Freq.     Percent        Cum.
{hline 12}{c +}{hline 35}
          1 {c |}{res}         45        8.33        8.33
{txt}          2 {c |}{res}         45        8.33       16.67
{txt}          3 {c |}{res}         45        8.33       25.00
{txt}          4 {c |}{res}         45        8.33       33.33
{txt}          5 {c |}{res}         45        8.33       41.67
{txt}          6 {c |}{res}         45        8.33       50.00
{txt}          7 {c |}{res}         45        8.33       58.33
{txt}          8 {c |}{res}         45        8.33       66.67
{txt}          9 {c |}{res}         45        8.33       75.00
{txt}         10 {c |}{res}         45        8.33       83.33
{txt}         11 {c |}{res}         45        8.33       91.67
{txt}         12 {c |}{res}         45        8.33      100.00
{txt}{hline 12}{c +}{hline 35}
      Total {c |}{res}        540      100.00
{txt}
{com}. 
. xtset id year
{res}
{col 1}{txt:Panel variable: }{res:id}{txt: (strongly balanced)}
{p 1 16 2}{txt:Time variable: }{res:year}{txt:, }{res:{bind:1960}}{txt: to }{res:{bind:2004}}{p_end}
{txt}{col 10}Delta: {res}1 unit
{txt}
{com}. xtreg le ts10 gdp gdpsq edu phealth thealth year2-year45, fe vce(cluster id)
{txt}{p 0 6 2}note: {bf:year2} omitted because of collinearity.{p_end}
{p 0 6 2}note: {bf:year3} omitted because of collinearity.{p_end}
{p 0 6 2}note: {bf:year4} omitted because of collinearity.{p_end}
{p 0 6 2}note: {bf:year5} omitted because of collinearity.{p_end}
{p 0 6 2}note: {bf:year7} omitted because of collinearity.{p_end}
{p 0 6 2}note: {bf:year8} omitted because of collinearity.{p_end}
{p 0 6 2}note: {bf:year9} omitted because of collinearity.{p_end}
{p 0 6 2}note: {bf:year10} omitted because of collinearity.{p_end}
{p 0 6 2}note: {bf:year12} omitted because of collinearity.{p_end}
{p 0 6 2}note: {bf:year13} omitted because of collinearity.{p_end}
{p 0 6 2}note: {bf:year14} omitted because of collinearity.{p_end}
{p 0 6 2}note: {bf:year15} omitted because of collinearity.{p_end}
{p 0 6 2}note: {bf:year17} omitted because of collinearity.{p_end}
{p 0 6 2}note: {bf:year18} omitted because of collinearity.{p_end}
{p 0 6 2}note: {bf:year19} omitted because of collinearity.{p_end}
{p 0 6 2}note: {bf:year20} omitted because of collinearity.{p_end}
{p 0 6 2}note: {bf:year22} omitted because of collinearity.{p_end}
{p 0 6 2}note: {bf:year23} omitted because of collinearity.{p_end}
{p 0 6 2}note: {bf:year24} omitted because of collinearity.{p_end}
{p 0 6 2}note: {bf:year25} omitted because of collinearity.{p_end}
{p 0 6 2}note: {bf:year27} omitted because of collinearity.{p_end}
{p 0 6 2}note: {bf:year28} omitted because of collinearity.{p_end}
{p 0 6 2}note: {bf:year29} omitted because of collinearity.{p_end}
{p 0 6 2}note: {bf:year30} omitted because of collinearity.{p_end}
{p 0 6 2}note: {bf:year32} omitted because of collinearity.{p_end}
{p 0 6 2}note: {bf:year33} omitted because of collinearity.{p_end}
{p 0 6 2}note: {bf:year34} omitted because of collinearity.{p_end}
{p 0 6 2}note: {bf:year35} omitted because of collinearity.{p_end}
{p 0 6 2}note: {bf:year37} omitted because of collinearity.{p_end}
{p 0 6 2}note: {bf:year38} omitted because of collinearity.{p_end}
{p 0 6 2}note: {bf:year39} omitted because of collinearity.{p_end}
{p 0 6 2}note: {bf:year40} omitted because of collinearity.{p_end}
{p 0 6 2}note: {bf:year42} omitted because of collinearity.{p_end}
{p 0 6 2}note: {bf:year43} omitted because of collinearity.{p_end}
{p 0 6 2}note: {bf:year44} omitted because of collinearity.{p_end}
{p 0 6 2}note: {bf:year45} omitted because of collinearity.{p_end}
{res}
{txt}Fixed-effects (within) regression{col 49}Number of obs{col 67}={col 69}{res}        64
{txt}Group variable: {res}id{txt}{col 49}Number of groups{col 67}={col 69}{res}        11

{txt}R-squared:{col 49}Obs per group:
     Within  = {res}0.9812{col 63}{txt}min{col 67}={col 69}{res}         2
{txt}     Between = {res}0.6730{col 63}{txt}avg{col 67}={col 69}{res}       5.8
{txt}     Overall = {res}0.9146{col 63}{txt}max{col 67}={col 69}{res}         9

{col 49}{help j_robustsingular##|_new:F(10,10)}{col 67}{txt}={col 70}{res}        .
{txt}corr(u_i, Xb) = {res}0.1800{txt}{col 49}Prob > F{col 67}={col 73}{res}     .

{txt}{ralign 78:(Std. err. adjusted for {res:11} clusters in {res:id})}
{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 14}{c |}{col 26}    Robust
{col 1}          le{col 14}{c |} Coefficient{col 26}  std. err.{col 38}      t{col 46}   P>|t|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 8}ts10 {c |}{col 14}{res}{space 2}  .003495{col 26}{space 2} .0507846{col 37}{space 1}    0.07{col 46}{space 3}0.946{col 54}{space 4}-.1096601{col 67}{space 3} .1166501
{txt}{space 9}gdp {c |}{col 14}{res}{space 2} .2177531{col 26}{space 2} .2600172{col 37}{space 1}    0.84{col 46}{space 3}0.422{col 54}{space 4}-.3616013{col 67}{space 3} .7971075
{txt}{space 7}gdpsq {c |}{col 14}{res}{space 2}-.0086537{col 26}{space 2}  .005465{col 37}{space 1}   -1.58{col 46}{space 3}0.144{col 54}{space 4}-.0208304{col 67}{space 3}  .003523
{txt}{space 9}edu {c |}{col 14}{res}{space 2}-.1784212{col 26}{space 2} .2019012{col 37}{space 1}   -0.88{col 46}{space 3}0.398{col 54}{space 4} -.628285{col 67}{space 3} .2714426
{txt}{space 5}phealth {c |}{col 14}{res}{space 2} 1.223534{col 26}{space 2} .5803484{col 37}{space 1}    2.11{col 46}{space 3}0.061{col 54}{space 4}-.0695623{col 67}{space 3} 2.516631
{txt}{space 5}thealth {c |}{col 14}{res}{space 2} .1561995{col 26}{space 2} .2716877{col 37}{space 1}    0.57{col 46}{space 3}0.578{col 54}{space 4}-.4491583{col 67}{space 3} .7615573
{txt}{space 7}year2 {c |}{col 14}{res}{space 2}        0{col 26}{txt}  (omitted)
{space 7}year3 {c |}{col 14}{res}{space 2}        0{col 26}{txt}  (omitted)
{space 7}year4 {c |}{col 14}{res}{space 2}        0{col 26}{txt}  (omitted)
{space 7}year5 {c |}{col 14}{res}{space 2}        0{col 26}{txt}  (omitted)
{space 7}year6 {c |}{col 14}{res}{space 2} .3240656{col 26}{space 2} .4614918{col 37}{space 1}    0.70{col 46}{space 3}0.499{col 54}{space 4}-.7042022{col 67}{space 3} 1.352333
{txt}{space 7}year7 {c |}{col 14}{res}{space 2}        0{col 26}{txt}  (omitted)
{space 7}year8 {c |}{col 14}{res}{space 2}        0{col 26}{txt}  (omitted)
{space 7}year9 {c |}{col 14}{res}{space 2}        0{col 26}{txt}  (omitted)
{space 6}year10 {c |}{col 14}{res}{space 2}        0{col 26}{txt}  (omitted)
{space 6}year11 {c |}{col 14}{res}{space 2} .5772278{col 26}{space 2} .7990904{col 37}{space 1}    0.72{col 46}{space 3}0.487{col 54}{space 4}-1.203257{col 67}{space 3} 2.357712
{txt}{space 6}year12 {c |}{col 14}{res}{space 2}        0{col 26}{txt}  (omitted)
{space 6}year13 {c |}{col 14}{res}{space 2}        0{col 26}{txt}  (omitted)
{space 6}year14 {c |}{col 14}{res}{space 2}        0{col 26}{txt}  (omitted)
{space 6}year15 {c |}{col 14}{res}{space 2}        0{col 26}{txt}  (omitted)
{space 6}year16 {c |}{col 14}{res}{space 2} 1.323547{col 26}{space 2} 1.129071{col 37}{space 1}    1.17{col 46}{space 3}0.268{col 54}{space 4} -1.19218{col 67}{space 3} 3.839274
{txt}{space 6}year17 {c |}{col 14}{res}{space 2}        0{col 26}{txt}  (omitted)
{space 6}year18 {c |}{col 14}{res}{space 2}        0{col 26}{txt}  (omitted)
{space 6}year19 {c |}{col 14}{res}{space 2}        0{col 26}{txt}  (omitted)
{space 6}year20 {c |}{col 14}{res}{space 2}        0{col 26}{txt}  (omitted)
{space 6}year21 {c |}{col 14}{res}{space 2} 2.213612{col 26}{space 2}  1.27659{col 37}{space 1}    1.73{col 46}{space 3}0.114{col 54}{space 4}-.6308077{col 67}{space 3} 5.058031
{txt}{space 6}year22 {c |}{col 14}{res}{space 2}        0{col 26}{txt}  (omitted)
{space 6}year23 {c |}{col 14}{res}{space 2}        0{col 26}{txt}  (omitted)
{space 6}year24 {c |}{col 14}{res}{space 2}        0{col 26}{txt}  (omitted)
{space 6}year25 {c |}{col 14}{res}{space 2}        0{col 26}{txt}  (omitted)
{space 6}year26 {c |}{col 14}{res}{space 2} 3.347045{col 26}{space 2} 1.425352{col 37}{space 1}    2.35{col 46}{space 3}0.041{col 54}{space 4} .1711632{col 67}{space 3} 6.522928
{txt}{space 6}year27 {c |}{col 14}{res}{space 2}        0{col 26}{txt}  (omitted)
{space 6}year28 {c |}{col 14}{res}{space 2}        0{col 26}{txt}  (omitted)
{space 6}year29 {c |}{col 14}{res}{space 2}        0{col 26}{txt}  (omitted)
{space 6}year30 {c |}{col 14}{res}{space 2}        0{col 26}{txt}  (omitted)
{space 6}year31 {c |}{col 14}{res}{space 2} 4.283239{col 26}{space 2} 1.418167{col 37}{space 1}    3.02{col 46}{space 3}0.013{col 54}{space 4} 1.123365{col 67}{space 3} 7.443112
{txt}{space 6}year32 {c |}{col 14}{res}{space 2}        0{col 26}{txt}  (omitted)
{space 6}year33 {c |}{col 14}{res}{space 2}        0{col 26}{txt}  (omitted)
{space 6}year34 {c |}{col 14}{res}{space 2}        0{col 26}{txt}  (omitted)
{space 6}year35 {c |}{col 14}{res}{space 2}        0{col 26}{txt}  (omitted)
{space 6}year36 {c |}{col 14}{res}{space 2} 5.188387{col 26}{space 2} 1.526079{col 37}{space 1}    3.40{col 46}{space 3}0.007{col 54}{space 4} 1.788071{col 67}{space 3} 8.588703
{txt}{space 6}year37 {c |}{col 14}{res}{space 2}        0{col 26}{txt}  (omitted)
{space 6}year38 {c |}{col 14}{res}{space 2}        0{col 26}{txt}  (omitted)
{space 6}year39 {c |}{col 14}{res}{space 2}        0{col 26}{txt}  (omitted)
{space 6}year40 {c |}{col 14}{res}{space 2}        0{col 26}{txt}  (omitted)
{space 6}year41 {c |}{col 14}{res}{space 2} 6.887308{col 26}{space 2} 1.618871{col 37}{space 1}    4.25{col 46}{space 3}0.002{col 54}{space 4} 3.280239{col 67}{space 3} 10.49438
{txt}{space 6}year42 {c |}{col 14}{res}{space 2}        0{col 26}{txt}  (omitted)
{space 6}year43 {c |}{col 14}{res}{space 2}        0{col 26}{txt}  (omitted)
{space 6}year44 {c |}{col 14}{res}{space 2}        0{col 26}{txt}  (omitted)
{space 6}year45 {c |}{col 14}{res}{space 2}        0{col 26}{txt}  (omitted)
{space 7}_cons {c |}{col 14}{res}{space 2} 63.02478{col 26}{space 2} 4.271958{col 37}{space 1}   14.75{col 46}{space 3}0.000{col 54}{space 4} 53.50627{col 67}{space 3}  72.5433
{txt}{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
     sigma_u {c |} {res} .90405149
     {txt}sigma_e {c |} {res} .39604715
         {txt}rho {c |} {res} .83898646{txt}   (fraction of variance due to u_i)
{hline 13}{c BT}{hline 64}

{com}. 
. preserve
{txt}
{com}. clear 
{txt}
{com}. use "replication linear imputation.dta"
{txt}
{com}. drop if year>2004 
{txt}(156 observations deleted)

{com}. drop if year<1960
{txt}(780 observations deleted)

{com}. gen re_gdpsq = re_gdp^2
{txt}
{com}. rename re_le le
{res}{txt}
{com}. rename re_ts10 ts10
{res}{txt}
{com}. rename re_gdpsq gdpsq
{res}{txt}
{com}. rename re_gdp gdp
{res}{txt}
{com}. rename re_edu edu
{res}{txt}
{com}. rename lre_phealth phealth
{res}{txt}
{com}. rename lre_thealth thealth
{res}{txt}
{com}. tab year, gen(year)

       {txt}year {c |}      Freq.     Percent        Cum.
{hline 12}{c +}{hline 35}
       1960 {c |}{res}         12        2.22        2.22
{txt}       1961 {c |}{res}         12        2.22        4.44
{txt}       1962 {c |}{res}         12        2.22        6.67
{txt}       1963 {c |}{res}         12        2.22        8.89
{txt}       1964 {c |}{res}         12        2.22       11.11
{txt}       1965 {c |}{res}         12        2.22       13.33
{txt}       1966 {c |}{res}         12        2.22       15.56
{txt}       1967 {c |}{res}         12        2.22       17.78
{txt}       1968 {c |}{res}         12        2.22       20.00
{txt}       1969 {c |}{res}         12        2.22       22.22
{txt}       1970 {c |}{res}         12        2.22       24.44
{txt}       1971 {c |}{res}         12        2.22       26.67
{txt}       1972 {c |}{res}         12        2.22       28.89
{txt}       1973 {c |}{res}         12        2.22       31.11
{txt}       1974 {c |}{res}         12        2.22       33.33
{txt}       1975 {c |}{res}         12        2.22       35.56
{txt}       1976 {c |}{res}         12        2.22       37.78
{txt}       1977 {c |}{res}         12        2.22       40.00
{txt}       1978 {c |}{res}         12        2.22       42.22
{txt}       1979 {c |}{res}         12        2.22       44.44
{txt}       1980 {c |}{res}         12        2.22       46.67
{txt}       1981 {c |}{res}         12        2.22       48.89
{txt}       1982 {c |}{res}         12        2.22       51.11
{txt}       1983 {c |}{res}         12        2.22       53.33
{txt}       1984 {c |}{res}         12        2.22       55.56
{txt}       1985 {c |}{res}         12        2.22       57.78
{txt}       1986 {c |}{res}         12        2.22       60.00
{txt}       1987 {c |}{res}         12        2.22       62.22
{txt}       1988 {c |}{res}         12        2.22       64.44
{txt}       1989 {c |}{res}         12        2.22       66.67
{txt}       1990 {c |}{res}         12        2.22       68.89
{txt}       1991 {c |}{res}         12        2.22       71.11
{txt}       1992 {c |}{res}         12        2.22       73.33
{txt}       1993 {c |}{res}         12        2.22       75.56
{txt}       1994 {c |}{res}         12        2.22       77.78
{txt}       1995 {c |}{res}         12        2.22       80.00
{txt}       1996 {c |}{res}         12        2.22       82.22
{txt}       1997 {c |}{res}         12        2.22       84.44
{txt}       1998 {c |}{res}         12        2.22       86.67
{txt}       1999 {c |}{res}         12        2.22       88.89
{txt}       2000 {c |}{res}         12        2.22       91.11
{txt}       2001 {c |}{res}         12        2.22       93.33
{txt}       2002 {c |}{res}         12        2.22       95.56
{txt}       2003 {c |}{res}         12        2.22       97.78
{txt}       2004 {c |}{res}         12        2.22      100.00
{txt}{hline 12}{c +}{hline 35}
      Total {c |}{res}        540      100.00
{txt}
{com}. tab id, gen (id)

         {txt}id {c |}      Freq.     Percent        Cum.
{hline 12}{c +}{hline 35}
          1 {c |}{res}         45        8.33        8.33
{txt}          2 {c |}{res}         45        8.33       16.67
{txt}          3 {c |}{res}         45        8.33       25.00
{txt}          4 {c |}{res}         45        8.33       33.33
{txt}          5 {c |}{res}         45        8.33       41.67
{txt}          6 {c |}{res}         45        8.33       50.00
{txt}          7 {c |}{res}         45        8.33       58.33
{txt}          8 {c |}{res}         45        8.33       66.67
{txt}          9 {c |}{res}         45        8.33       75.00
{txt}         10 {c |}{res}         45        8.33       83.33
{txt}         11 {c |}{res}         45        8.33       91.67
{txt}         12 {c |}{res}         45        8.33      100.00
{txt}{hline 12}{c +}{hline 35}
      Total {c |}{res}        540      100.00
{txt}
{com}. xtset id year
{res}
{col 1}{txt:Panel variable: }{res:id}{txt: (strongly balanced)}
{p 1 16 2}{txt:Time variable: }{res:year}{txt:, }{res:{bind:1960}}{txt: to }{res:{bind:2004}}{p_end}
{txt}{col 10}Delta: {res}1 unit
{txt}
{com}. xtreg le ts10 gdp gdpsq edu phealth thealth year2-year45, fe vce(cluster id)
{txt}{p 0 6 2}note: {bf:year45} omitted because of collinearity.{p_end}
{res}
{txt}Fixed-effects (within) regression{col 49}Number of obs{col 67}={col 69}{res}       430
{txt}Group variable: {res}id{txt}{col 49}Number of groups{col 67}={col 69}{res}        12

{txt}R-squared:{col 49}Obs per group:
     Within  = {res}0.9679{col 63}{txt}min{col 67}={col 69}{res}        22
{txt}     Between = {res}0.2923{col 63}{txt}avg{col 67}={col 69}{res}      35.8
{txt}     Overall = {res}0.8211{col 63}{txt}max{col 67}={col 69}{res}        43

{col 49}{help j_robustsingular##|_new:F(11,11)}{col 67}{txt}={col 70}{res}        .
{txt}corr(u_i, Xb) = {res}-0.0182{txt}{col 49}Prob > F{col 67}={col 73}{res}     .

{txt}{ralign 78:(Std. err. adjusted for {res:12} clusters in {res:id})}
{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 14}{c |}{col 26}    Robust
{col 1}          le{col 14}{c |} Coefficient{col 26}  std. err.{col 38}      t{col 46}   P>|t|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 8}ts10 {c |}{col 14}{res}{space 2} .0287205{col 26}{space 2} .0540861{col 37}{space 1}    0.53{col 46}{space 3}0.606{col 54}{space 4}-.0903223{col 67}{space 3} .1477633
{txt}{space 9}gdp {c |}{col 14}{res}{space 2} .2008795{col 26}{space 2}  .132202{col 37}{space 1}    1.52{col 46}{space 3}0.157{col 54}{space 4}-.0900952{col 67}{space 3} .4918543
{txt}{space 7}gdpsq {c |}{col 14}{res}{space 2}-.0054934{col 26}{space 2} .0036526{col 37}{space 1}   -1.50{col 46}{space 3}0.161{col 54}{space 4}-.0135328{col 67}{space 3} .0025459
{txt}{space 9}edu {c |}{col 14}{res}{space 2}-.1481121{col 26}{space 2} .1853203{col 37}{space 1}   -0.80{col 46}{space 3}0.441{col 54}{space 4}-.5559993{col 67}{space 3} .2597751
{txt}{space 5}phealth {c |}{col 14}{res}{space 2} .0415092{col 26}{space 2} .2147693{col 37}{space 1}    0.19{col 46}{space 3}0.850{col 54}{space 4}-.4311948{col 67}{space 3} .5142132
{txt}{space 5}thealth {c |}{col 14}{res}{space 2}  .247901{col 26}{space 2} .3131333{col 37}{space 1}    0.79{col 46}{space 3}0.445{col 54}{space 4}-.4413008{col 67}{space 3} .9371029
{txt}{space 7}year2 {c |}{col 14}{res}{space 2} .1855372{col 26}{space 2} .1408921{col 37}{space 1}    1.32{col 46}{space 3}0.215{col 54}{space 4}-.1245643{col 67}{space 3} .4956387
{txt}{space 7}year3 {c |}{col 14}{res}{space 2} .1701611{col 26}{space 2} .1404225{col 37}{space 1}    1.21{col 46}{space 3}0.251{col 54}{space 4}-.1389066{col 67}{space 3} .4792289
{txt}{space 7}year4 {c |}{col 14}{res}{space 2} .0843901{col 26}{space 2} .1899507{col 37}{space 1}    0.44{col 46}{space 3}0.665{col 54}{space 4}-.3336886{col 67}{space 3} .5024688
{txt}{space 7}year5 {c |}{col 14}{res}{space 2} .6082797{col 26}{space 2} .1802367{col 37}{space 1}    3.37{col 46}{space 3}0.006{col 54}{space 4} .2115813{col 67}{space 3} 1.004978
{txt}{space 7}year6 {c |}{col 14}{res}{space 2} .6258361{col 26}{space 2} .2208973{col 37}{space 1}    2.83{col 46}{space 3}0.016{col 54}{space 4} .1396444{col 67}{space 3} 1.112028
{txt}{space 7}year7 {c |}{col 14}{res}{space 2} .7071684{col 26}{space 2} .2680385{col 37}{space 1}    2.64{col 46}{space 3}0.023{col 54}{space 4} .1172196{col 67}{space 3} 1.297117
{txt}{space 7}year8 {c |}{col 14}{res}{space 2} .8525429{col 26}{space 2} .2767888{col 37}{space 1}    3.08{col 46}{space 3}0.010{col 54}{space 4} .2433348{col 67}{space 3} 1.461751
{txt}{space 7}year9 {c |}{col 14}{res}{space 2} .7590281{col 26}{space 2} .3864869{col 37}{space 1}    1.96{col 46}{space 3}0.075{col 54}{space 4}-.0916237{col 67}{space 3}  1.60968
{txt}{space 6}year10 {c |}{col 14}{res}{space 2}  .764654{col 26}{space 2} .4403851{col 37}{space 1}    1.74{col 46}{space 3}0.110{col 54}{space 4}-.2046271{col 67}{space 3} 1.733935
{txt}{space 6}year11 {c |}{col 14}{res}{space 2} 1.017327{col 26}{space 2} .4307271{col 37}{space 1}    2.36{col 46}{space 3}0.038{col 54}{space 4} .0693034{col 67}{space 3} 1.965351
{txt}{space 6}year12 {c |}{col 14}{res}{space 2} 1.210096{col 26}{space 2} .4792698{col 37}{space 1}    2.52{col 46}{space 3}0.028{col 54}{space 4} .1552299{col 67}{space 3} 2.264961
{txt}{space 6}year13 {c |}{col 14}{res}{space 2} 1.323414{col 26}{space 2} .5210904{col 37}{space 1}    2.54{col 46}{space 3}0.027{col 54}{space 4} .1765021{col 67}{space 3} 2.470326
{txt}{space 6}year14 {c |}{col 14}{res}{space 2}     1.52{col 26}{space 2} .5719724{col 37}{space 1}    2.66{col 46}{space 3}0.022{col 54}{space 4} .2610973{col 67}{space 3} 2.778903
{txt}{space 6}year15 {c |}{col 14}{res}{space 2} 1.824145{col 26}{space 2} .6105116{col 37}{space 1}    2.99{col 46}{space 3}0.012{col 54}{space 4}  .480418{col 67}{space 3} 3.167872
{txt}{space 6}year16 {c |}{col 14}{res}{space 2} 2.055946{col 26}{space 2}   .64192{col 37}{space 1}    3.20{col 46}{space 3}0.008{col 54}{space 4} .6430899{col 67}{space 3} 3.468803
{txt}{space 6}year17 {c |}{col 14}{res}{space 2} 2.307366{col 26}{space 2} .7130712{col 37}{space 1}    3.24{col 46}{space 3}0.008{col 54}{space 4} .7379069{col 67}{space 3} 3.876825
{txt}{space 6}year18 {c |}{col 14}{res}{space 2} 2.696388{col 26}{space 2} .7220693{col 37}{space 1}    3.73{col 46}{space 3}0.003{col 54}{space 4} 1.107124{col 67}{space 3} 4.285652
{txt}{space 6}year19 {c |}{col 14}{res}{space 2} 2.855475{col 26}{space 2} .7738857{col 37}{space 1}    3.69{col 46}{space 3}0.004{col 54}{space 4} 1.152164{col 67}{space 3} 4.558786
{txt}{space 6}year20 {c |}{col 14}{res}{space 2} 3.132951{col 26}{space 2} .8085561{col 37}{space 1}    3.87{col 46}{space 3}0.003{col 54}{space 4} 1.353331{col 67}{space 3} 4.912571
{txt}{space 6}year21 {c |}{col 14}{res}{space 2} 3.287036{col 26}{space 2} .7852122{col 37}{space 1}    4.19{col 46}{space 3}0.002{col 54}{space 4} 1.558796{col 67}{space 3} 5.015277
{txt}{space 6}year22 {c |}{col 14}{res}{space 2} 3.671073{col 26}{space 2} .8206617{col 37}{space 1}    4.47{col 46}{space 3}0.001{col 54}{space 4} 1.864809{col 67}{space 3} 5.477338
{txt}{space 6}year23 {c |}{col 14}{res}{space 2} 3.876003{col 26}{space 2} .8093586{col 37}{space 1}    4.79{col 46}{space 3}0.001{col 54}{space 4} 2.094616{col 67}{space 3} 5.657389
{txt}{space 6}year24 {c |}{col 14}{res}{space 2} 4.050227{col 26}{space 2} .8201084{col 37}{space 1}    4.94{col 46}{space 3}0.000{col 54}{space 4} 2.245181{col 67}{space 3} 5.855273
{txt}{space 6}year25 {c |}{col 14}{res}{space 2} 4.383679{col 26}{space 2} .8230031{col 37}{space 1}    5.33{col 46}{space 3}0.000{col 54}{space 4} 2.572262{col 67}{space 3} 6.195097
{txt}{space 6}year26 {c |}{col 14}{res}{space 2} 4.335618{col 26}{space 2} .8470093{col 37}{space 1}    5.12{col 46}{space 3}0.000{col 54}{space 4} 2.471363{col 67}{space 3} 6.199873
{txt}{space 6}year27 {c |}{col 14}{res}{space 2} 4.523657{col 26}{space 2} .8513438{col 37}{space 1}    5.31{col 46}{space 3}0.000{col 54}{space 4} 2.649862{col 67}{space 3} 6.397452
{txt}{space 6}year28 {c |}{col 14}{res}{space 2} 4.795406{col 26}{space 2} .8428378{col 37}{space 1}    5.69{col 46}{space 3}0.000{col 54}{space 4} 2.940332{col 67}{space 3} 6.650479
{txt}{space 6}year29 {c |}{col 14}{res}{space 2} 4.868188{col 26}{space 2} .8517953{col 37}{space 1}    5.72{col 46}{space 3}0.000{col 54}{space 4} 2.993399{col 67}{space 3} 6.742977
{txt}{space 6}year30 {c |}{col 14}{res}{space 2} 5.055964{col 26}{space 2} .8585623{col 37}{space 1}    5.89{col 46}{space 3}0.000{col 54}{space 4} 3.166282{col 67}{space 3} 6.945647
{txt}{space 6}year31 {c |}{col 14}{res}{space 2} 5.257585{col 26}{space 2}  .865393{col 37}{space 1}    6.08{col 46}{space 3}0.000{col 54}{space 4} 3.352868{col 67}{space 3} 7.162302
{txt}{space 6}year32 {c |}{col 14}{res}{space 2} 5.472619{col 26}{space 2}  .876764{col 37}{space 1}    6.24{col 46}{space 3}0.000{col 54}{space 4} 3.542875{col 67}{space 3} 7.402364
{txt}{space 6}year33 {c |}{col 14}{res}{space 2} 5.690187{col 26}{space 2} .8571974{col 37}{space 1}    6.64{col 46}{space 3}0.000{col 54}{space 4} 3.803508{col 67}{space 3} 7.576865
{txt}{space 6}year34 {c |}{col 14}{res}{space 2} 5.753493{col 26}{space 2} .8824433{col 37}{space 1}    6.52{col 46}{space 3}0.000{col 54}{space 4} 3.811248{col 67}{space 3} 7.695738
{txt}{space 6}year35 {c |}{col 14}{res}{space 2} 6.067405{col 26}{space 2} .8688734{col 37}{space 1}    6.98{col 46}{space 3}0.000{col 54}{space 4} 4.155027{col 67}{space 3} 7.979782
{txt}{space 6}year36 {c |}{col 14}{res}{space 2} 6.115214{col 26}{space 2} .8955725{col 37}{space 1}    6.83{col 46}{space 3}0.000{col 54}{space 4} 4.144073{col 67}{space 3} 8.086356
{txt}{space 6}year37 {c |}{col 14}{res}{space 2} 6.356921{col 26}{space 2} .9024543{col 37}{space 1}    7.04{col 46}{space 3}0.000{col 54}{space 4} 4.370632{col 67}{space 3} 8.343209
{txt}{space 6}year38 {c |}{col 14}{res}{space 2} 6.689151{col 26}{space 2}  .944236{col 37}{space 1}    7.08{col 46}{space 3}0.000{col 54}{space 4} 4.610902{col 67}{space 3} 8.767401
{txt}{space 6}year39 {c |}{col 14}{res}{space 2} 6.937185{col 26}{space 2} .9938986{col 37}{space 1}    6.98{col 46}{space 3}0.000{col 54}{space 4} 4.749628{col 67}{space 3} 9.124741
{txt}{space 6}year40 {c |}{col 14}{res}{space 2} 6.898127{col 26}{space 2} 1.054193{col 37}{space 1}    6.54{col 46}{space 3}0.000{col 54}{space 4} 4.577864{col 67}{space 3} 9.218389
{txt}{space 6}year41 {c |}{col 14}{res}{space 2}  7.44968{col 26}{space 2} 1.108783{col 37}{space 1}    6.72{col 46}{space 3}0.000{col 54}{space 4} 5.009266{col 67}{space 3} 9.890094
{txt}{space 6}year42 {c |}{col 14}{res}{space 2} 7.818533{col 26}{space 2} 1.139394{col 37}{space 1}    6.86{col 46}{space 3}0.000{col 54}{space 4} 5.310744{col 67}{space 3} 10.32632
{txt}{space 6}year43 {c |}{col 14}{res}{space 2} 8.105084{col 26}{space 2} 1.205316{col 37}{space 1}    6.72{col 46}{space 3}0.000{col 54}{space 4}   5.4522{col 67}{space 3} 10.75797
{txt}{space 6}year44 {c |}{col 14}{res}{space 2} 7.510324{col 26}{space 2} 1.167453{col 37}{space 1}    6.43{col 46}{space 3}0.000{col 54}{space 4} 4.940776{col 67}{space 3} 10.07987
{txt}{space 6}year45 {c |}{col 14}{res}{space 2}        0{col 26}{txt}  (omitted)
{space 7}_cons {c |}{col 14}{res}{space 2} 68.19337{col 26}{space 2} 2.842739{col 37}{space 1}   23.99{col 46}{space 3}0.000{col 54}{space 4} 61.93654{col 67}{space 3} 74.45019
{txt}{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
     sigma_u {c |} {res} 1.0357608
     {txt}sigma_e {c |} {res} .44032497
         {txt}rho {c |} {res} .84693443{txt}   (fraction of variance due to u_i)
{hline 13}{c BT}{hline 64}

{com}. restore
{txt}
{com}. 
. // SEM - No FIML
. sem (le <- ts10 gdp gdpsq edu phealth thealth id2-id12 year2-year45), vce(cluster id)
{res}{txt}(476 observations with missing values excluded)

Endogenous variables
{p 2 12 2}Observed:{space 1}{res}le{p_end}
{txt}
Exogenous variables
{p 2 12 2}Observed:{space 1}{res}ts10 gdp gdpsq edu phealth thealth id2 id3 id4 id5 id6 id7 id8 id9 id10 id11 id12 year2 year3 year4 year5 year6 year7 year8 year9 year10 year11 year12 year13 year14 year15 year16 year17 year18 year19 year20 year21 year22 year23 year24 year25 year26 year27 year28 year29 year30 year31 year32 year33 year34 year35 year36 year37 year38 year39 year40 year41 year42 year43 year44 year45{p_end}
{txt}
Fitting target model:
Iteration 0:{space 3}log pseudolikelihood = {res:-2666.4039}  (not concave)
Iteration 1:{space 3}log pseudolikelihood = {res:-2666.4039}  (not concave)
Iteration 2:{space 3}log pseudolikelihood = {res:-2666.4039}  (not concave)
Iteration 3:{space 3}log pseudolikelihood = {res:-2666.4039}  (backed up)

{col 1}Structural equation model{col 61}{lalign 13:Number of obs}{col 74} = {res}{ralign 2:64}
{txt}{col 1}Estimation method: {res:ml}

{col 1}{lalign 20:Log pseudolikelihood}{col 21} = {res}{ralign 10:-2666.4039}

{txt}{ralign 78:(Std. err. adjusted for {res:11} clusters in {res:id})}
{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 14}{c |}{col 26}    Robust
{col 14}{c |} Coefficient{col 26}  std. err.{col 38}      z{col 46}   P>|z|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}{res}Structural  {col 14}{txt}{c |}
{space 2}{col 3}le        {col 14}{c |}
{space 8}ts10 {c |}{col 14}{res}{space 2}  .003495{col 26}{space 2} .0447878{col 37}{space 1}    0.08{col 46}{space 3}0.938{col 54}{space 4}-.0842875{col 67}{space 3} .0912775
{txt}{space 9}gdp {c |}{col 14}{res}{space 2} .2177531{col 26}{space 2} .2293136{col 37}{space 1}    0.95{col 46}{space 3}0.342{col 54}{space 4}-.2316933{col 67}{space 3} .6671995
{txt}{space 7}gdpsq {c |}{col 14}{res}{space 2}-.0086537{col 26}{space 2} .0048197{col 37}{space 1}   -1.80{col 46}{space 3}0.073{col 54}{space 4}-.0181001{col 67}{space 3} .0007927
{txt}{space 9}edu {c |}{col 14}{res}{space 2}-.1784212{col 26}{space 2} .1780601{col 37}{space 1}   -1.00{col 46}{space 3}0.316{col 54}{space 4}-.5274125{col 67}{space 3} .1705701
{txt}{space 5}phealth {c |}{col 14}{res}{space 2} 1.223534{col 26}{space 2} .5118191{col 37}{space 1}    2.39{col 46}{space 3}0.017{col 54}{space 4} .2203874{col 67}{space 3} 2.226682
{txt}{space 5}thealth {c |}{col 14}{res}{space 2} .1561995{col 26}{space 2}  .239606{col 37}{space 1}    0.65{col 46}{space 3}0.514{col 54}{space 4}-.3134196{col 67}{space 3} .6258186
{txt}{space 9}id2 {c |}{col 14}{res}{space 2}  -.38798{col 26}{space 2} .4070192{col 37}{space 1}   -0.95{col 46}{space 3}0.340{col 54}{space 4}-1.185723{col 67}{space 3} .4097631
{txt}{space 9}id3 {c |}{col 14}{res}{space 2} .4974783{col 26}{space 2} .3439143{col 37}{space 1}    1.45{col 46}{space 3}0.148{col 54}{space 4}-.1765814{col 67}{space 3} 1.171538
{txt}{space 9}id4 {c |}{col 14}{res}{space 2}-2.480275{col 26}{space 2} .5022146{col 37}{space 1}   -4.94{col 46}{space 3}0.000{col 54}{space 4}-3.464597{col 67}{space 3}-1.495952
{txt}{space 9}id5 {c |}{col 14}{res}{space 2}-.2723284{col 26}{space 2} .7631588{col 37}{space 1}   -0.36{col 46}{space 3}0.721{col 54}{space 4}-1.768092{col 67}{space 3} 1.223435
{txt}{space 9}id6 {c |}{col 14}{res}{space 2}-1.412679{col 26}{space 2} .6821805{col 37}{space 1}   -2.07{col 46}{space 3}0.038{col 54}{space 4}-2.749728{col 67}{space 3}-.0756293
{txt}{space 9}id7 {c |}{col 14}{res}{space 2}        0{col 26}{txt}  (constrained)
{space 9}id8 {c |}{col 14}{res}{space 2}-.1039046{col 26}{space 2} .1795528{col 37}{space 1}   -0.58{col 46}{space 3}0.563{col 54}{space 4}-.4558217{col 67}{space 3} .2480124
{txt}{space 9}id9 {c |}{col 14}{res}{space 2}-1.334604{col 26}{space 2} .3895309{col 37}{space 1}   -3.43{col 46}{space 3}0.001{col 54}{space 4}-2.098071{col 67}{space 3}-.5711377
{txt}{space 8}id10 {c |}{col 14}{res}{space 2} .3778158{col 26}{space 2} .3298172{col 37}{space 1}    1.15{col 46}{space 3}0.252{col 54}{space 4}-.2686141{col 67}{space 3} 1.024246
{txt}{space 8}id11 {c |}{col 14}{res}{space 2}  -1.0924{col 26}{space 2} .4016583{col 37}{space 1}   -2.72{col 46}{space 3}0.007{col 54}{space 4}-1.879635{col 67}{space 3}-.3051639
{txt}{space 8}id12 {c |}{col 14}{res}{space 2} -1.17632{col 26}{space 2} .4159554{col 37}{space 1}   -2.83{col 46}{space 3}0.005{col 54}{space 4}-1.991578{col 67}{space 3}-.3610627
{txt}{space 7}year2 {c |}{col 14}{res}{space 2}        0{col 26}{txt}  (constrained)
{space 7}year3 {c |}{col 14}{res}{space 2}        0{col 26}{txt}  (constrained)
{space 7}year4 {c |}{col 14}{res}{space 2}        0{col 26}{txt}  (constrained)
{space 7}year5 {c |}{col 14}{res}{space 2}        0{col 26}{txt}  (constrained)
{space 7}year6 {c |}{col 14}{res}{space 2} .3240655{col 26}{space 2} .4069975{col 37}{space 1}    0.80{col 46}{space 3}0.426{col 54}{space 4}-.4736349{col 67}{space 3} 1.121766
{txt}{space 7}year7 {c |}{col 14}{res}{space 2}        0{col 26}{txt}  (constrained)
{space 7}year8 {c |}{col 14}{res}{space 2}        0{col 26}{txt}  (constrained)
{space 7}year9 {c |}{col 14}{res}{space 2}        0{col 26}{txt}  (constrained)
{space 6}year10 {c |}{col 14}{res}{space 2}        0{col 26}{txt}  (constrained)
{space 6}year11 {c |}{col 14}{res}{space 2} .5772278{col 26}{space 2} .7047315{col 37}{space 1}    0.82{col 46}{space 3}0.413{col 54}{space 4}-.8040205{col 67}{space 3} 1.958476
{txt}{space 6}year12 {c |}{col 14}{res}{space 2}        0{col 26}{txt}  (constrained)
{space 6}year13 {c |}{col 14}{res}{space 2}        0{col 26}{txt}  (constrained)
{space 6}year14 {c |}{col 14}{res}{space 2}        0{col 26}{txt}  (constrained)
{space 6}year15 {c |}{col 14}{res}{space 2}        0{col 26}{txt}  (constrained)
{space 6}year16 {c |}{col 14}{res}{space 2} 1.323547{col 26}{space 2}  .995747{col 37}{space 1}    1.33{col 46}{space 3}0.184{col 54}{space 4}-.6280812{col 67}{space 3} 3.275175
{txt}{space 6}year17 {c |}{col 14}{res}{space 2}        0{col 26}{txt}  (constrained)
{space 6}year18 {c |}{col 14}{res}{space 2}        0{col 26}{txt}  (constrained)
{space 6}year19 {c |}{col 14}{res}{space 2}        0{col 26}{txt}  (constrained)
{space 6}year20 {c |}{col 14}{res}{space 2}        0{col 26}{txt}  (constrained)
{space 6}year21 {c |}{col 14}{res}{space 2} 2.213612{col 26}{space 2} 1.125846{col 37}{space 1}    1.97{col 46}{space 3}0.049{col 54}{space 4} .0069933{col 67}{space 3}  4.42023
{txt}{space 6}year22 {c |}{col 14}{res}{space 2}        0{col 26}{txt}  (constrained)
{space 6}year23 {c |}{col 14}{res}{space 2}        0{col 26}{txt}  (constrained)
{space 6}year24 {c |}{col 14}{res}{space 2}        0{col 26}{txt}  (constrained)
{space 6}year25 {c |}{col 14}{res}{space 2}        0{col 26}{txt}  (constrained)
{space 6}year26 {c |}{col 14}{res}{space 2} 3.347045{col 26}{space 2} 1.257042{col 37}{space 1}    2.66{col 46}{space 3}0.008{col 54}{space 4} .8832877{col 67}{space 3} 5.810803
{txt}{space 6}year27 {c |}{col 14}{res}{space 2}        0{col 26}{txt}  (constrained)
{space 6}year28 {c |}{col 14}{res}{space 2}        0{col 26}{txt}  (constrained)
{space 6}year29 {c |}{col 14}{res}{space 2}        0{col 26}{txt}  (constrained)
{space 6}year30 {c |}{col 14}{res}{space 2}        0{col 26}{txt}  (constrained)
{space 6}year31 {c |}{col 14}{res}{space 2} 4.283239{col 26}{space 2} 1.250706{col 37}{space 1}    3.42{col 46}{space 3}0.001{col 54}{space 4}   1.8319{col 67}{space 3} 6.734577
{txt}{space 6}year32 {c |}{col 14}{res}{space 2}        0{col 26}{txt}  (constrained)
{space 6}year33 {c |}{col 14}{res}{space 2}        0{col 26}{txt}  (constrained)
{space 6}year34 {c |}{col 14}{res}{space 2}        0{col 26}{txt}  (constrained)
{space 6}year35 {c |}{col 14}{res}{space 2}        0{col 26}{txt}  (constrained)
{space 6}year36 {c |}{col 14}{res}{space 2} 5.188387{col 26}{space 2} 1.345875{col 37}{space 1}    3.86{col 46}{space 3}0.000{col 54}{space 4}  2.55052{col 67}{space 3} 7.826254
{txt}{space 6}year37 {c |}{col 14}{res}{space 2}        0{col 26}{txt}  (constrained)
{space 6}year38 {c |}{col 14}{res}{space 2}        0{col 26}{txt}  (constrained)
{space 6}year39 {c |}{col 14}{res}{space 2}        0{col 26}{txt}  (constrained)
{space 6}year40 {c |}{col 14}{res}{space 2}        0{col 26}{txt}  (constrained)
{space 6}year41 {c |}{col 14}{res}{space 2} 6.887308{col 26}{space 2}  1.42771{col 37}{space 1}    4.82{col 46}{space 3}0.000{col 54}{space 4} 4.089048{col 67}{space 3} 9.685567
{txt}{space 6}year42 {c |}{col 14}{res}{space 2}        0{col 26}{txt}  (constrained)
{space 6}year43 {c |}{col 14}{res}{space 2}        0{col 26}{txt}  (constrained)
{space 6}year44 {c |}{col 14}{res}{space 2}        0{col 26}{txt}  (constrained)
{space 6}year45 {c |}{col 14}{res}{space 2}        0{col 26}{txt}  (constrained)
{space 7}_cons {c |}{col 14}{res}{space 2} 63.70611{col 26}{space 2} 3.766827{col 37}{space 1}   16.91{col 46}{space 3}0.000{col 54}{space 4} 56.32327{col 67}{space 3} 71.08896
{txt}{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 4}var(e.le){c |}{col 14}{res}{space 2} .0955825{col 26}{space 2} .0088809{col 54}{space 4} .0796693{col 67}{space 3} .1146743
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}. 
. /*
> // SEM - FIML
> // Didn't converge
> sem (le <- ts10 gdp gdpsq edu phealth thealth id2-id12 year2-year45), method(mlmv) vce(cluster id)
> */
. 
. //Set-up
. mi set flong
{txt}
{com}. mi register imputed le ts10 edu phealth thealth im
{res}{txt}{p}
(476 {it:m}=0 obs now marked as incomplete)
{p_end}

{com}. 
. // Note the default burnin and burnbetween are both 100
. // I set "initmcmc(em)" to do 500 iterations because it didn't converge at the default values
. mi impute mvn le ts10 edu phealth thealth im  = gdp gdpsq id2-id12 year2-year45, prior(jeffreys) ///
>     mcmconly initmcmc(em, iterate(500)) rseed(123) savewlf(wlf, replace)
{res}
{txt}Performing EM optimization:
{txt}  observed log posterior = {res} 2041.0456{txt} at iteration 130
{res}
{txt}Performing MCMC data augmentation ... 
{res}
{txt}Note: No imputation performed.
{res}{txt}
{com}. 
. preserve
{txt}
{com}. use wlf, clear
{txt}
{com}. tsset iter
{res}
{p 0 15 2}{txt:Time variable: }{res:iter}{txt:, }{res:{bind:-99}}{txt: to }{res:{bind:0}}{p_end}
{txt}{col 9}Delta: {res}1 unit
{txt}
{com}. tsline wlf, ytitle(Worst linear function) xtitle(Burn-in period) name(stable1,replace)
{res}{txt}
{com}. ac wlf, title(Worst linear function) ytitle(Autocorrelations) ///
>   note("") name(ac1,replace)
{res}{txt}
{com}. restore
{txt}
{com}. 
. // Stationarity doesn't look great. Increase burnin to 500.
. 
. mi impute mvn le ts10 edu phealth thealth im  = gdp gdpsq id2-id12 year2-year45, prior(jeffreys) ///
>     mcmconly initmcmc(em, iterate(500)) burnin(500) rseed(123) savewlf(wlf, replace)
{res}
{txt}Performing EM optimization:
{txt}  observed log posterior = {res} 2041.0456{txt} at iteration 130
{res}
{txt}Performing MCMC data augmentation ... 
{res}
{txt}Note: No imputation performed.
{res}{txt}
{com}. 
. preserve
{txt}
{com}. use wlf, clear
{txt}
{com}. tsset iter
{res}
{p 0 15 2}{txt:Time variable: }{res:iter}{txt:, }{res:{bind:-499}}{txt: to }{res:{bind:0}}{p_end}
{txt}{col 9}Delta: {res}1 unit
{txt}
{com}. tsline wlf, ytitle(Worst linear function) xtitle(Burn-in period) name(stable2,replace)
{res}{txt}
{com}. ac wlf, title(Worst linear function) ytitle(Autocorrelations) ///
>   note("") name(ac2,replace)
{res}{txt}
{com}. restore
{txt}
{com}. 
. // Imputation
. mi impute mvn le ts10 edu phealth thealth im  = gdp gdpsq id2-id12 year2-year45, prior(jeffreys) ///
>     burnin(500) initmcmc(em, iterate(500)) add(10) rseed(123) 
{res}
{txt}Performing EM optimization:
{txt}  observed log posterior = {res} 2041.0456{txt} at iteration 130
{res}
{txt}Performing MCMC data augmentation ... 
{res}{txt}
Multivariate imputation{txt}{col 45}{ralign 12:Imputations }= {res}      10
{txt}Multivariate normal regression{txt}{col 45}{ralign 12:added }= {res}      10
{txt}Imputed: {it:m}=1 through {it:m}=10{txt}{col 45}{ralign 12:updated }= {res}       0

{txt}Prior: Jeffreys{txt}{col 45}{ralign 12:Iterations }= {res}    1400
{txt}{col 45}{ralign 12:burn-in }= {res}     500
{txt}{col 45}{ralign 12:between }= {res}     100

{txt}{hline 19}{c TT}{hline 35}{hline 11}
{txt}{col 20}{c |}{center 46:  Observations per {it:m}}
{txt}{col 20}{c LT}{hline 35}{c TT}{hline 10}
{txt}{col 11}Variable {c |}{ralign 12:Complete }{ralign 13:Incomplete }{ralign 10:Imputed }{c |}{ralign 10:Total}
{hline 19}{c +}{hline 35}{c +}{hline 10}
{txt}{ralign 19:le }{c |}{res}        482           58        58 {txt}{c |}{res}       540
{txt}{ralign 19:ts10 }{c |}{res}        410          130       130 {txt}{c |}{res}       540
{txt}{ralign 19:edu }{c |}{res}        108          432       432 {txt}{c |}{res}       540
{txt}{ralign 19:phealth }{c |}{res}        420          120       120 {txt}{c |}{res}       540
{txt}{ralign 19:thealth }{c |}{res}        420          120       120 {txt}{c |}{res}       540
{txt}{ralign 19:im }{c |}{res}        507           33        33 {txt}{c |}{res}       540
{txt}{hline 19}{c BT}{hline 35}{c BT}{hline 10}
{p 0 1 1 66}(Complete + Incomplete = Total; Imputed is the minimum across {it:m}
 of the number of filled-in observations.){p_end}

{com}. 
. // Analysis
. mi xtset id year
{res}
{col 1}{txt:Panel variable: }{res:id}{txt: (strongly balanced)}
{p 1 16 2}{txt:Time variable: }{res:year}{txt:, }{res:{bind:1960}}{txt: to }{res:{bind:2004}}{p_end}
{txt}{col 10}Delta: {res}1 unit
{txt}
{com}. mi estimate: xtreg le ts10 gdp gdpsq edu phealth thealth year2-year45, fe vce(cluster id)
{res}
{txt}Multiple-imputation estimates{col 49}Imputations{col 67}= {res}        10
{txt}Fixed-effects (within) regression{col 49}Number of obs{col 67}= {res}       540

{txt}Group variable: {res:id}{col 49}Number of groups{col 67}= {res}        12
{txt}{col 49}Obs per group:
{col 49}              min{col 67}= {res}        45
{txt}{col 49}              avg{col 67}= {res}      45.0
{txt}{col 49}              max{col 67}= {res}        45
{txt}{col 49}Average RVI{col 67}= {res}    4.1010
{txt}{col 49}Largest FMI{col 67}= {res}    0.9447
{txt}{col 49}Complete DF{col 67}= {res}        11
{txt}DF adjustment:{ralign 15: {res:Small sample}}{col 49}DF:     min{col 67}= {res}      0.86
{txt}{col 49}        avg{col 67}= {res}      5.30
{txt}{col 49}        max{col 67}= {res}      8.78
{txt}Model F test:{ralign 16: {res:Equal FMI}}{col 49}F({res}  50{txt},{res}  129.4{txt}){col 67}= {res}    170.73
{txt}Within VCE type: {ralign 12:{res:Robust}}{col 49}Prob > F{col 67}= {res}    0.0000

{txt}{ralign 78:(Within VCE adjusted for {res:12} clusters in {res:id})}
{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}          le{col 14}{c |} Coefficient{col 26}  Std. err.{col 38}      t{col 46}   P>|t|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 8}ts10 {c |}{col 14}{res}{space 2} .0412696{col 26}{space 2} .0344615{col 37}{space 1}    1.20{col 46}{space 3}0.266{col 54}{space 4}-.0385329{col 67}{space 3} .1210721
{txt}{space 9}gdp {c |}{col 14}{res}{space 2} .0230499{col 26}{space 2} .0903264{col 37}{space 1}    0.26{col 46}{space 3}0.809{col 54}{space 4}-.2124106{col 67}{space 3} .2585104
{txt}{space 7}gdpsq {c |}{col 14}{res}{space 2}-.0060645{col 26}{space 2}  .002453{col 37}{space 1}   -2.47{col 46}{space 3}0.047{col 54}{space 4}-.0120035{col 67}{space 3}-.0001254
{txt}{space 9}edu {c |}{col 14}{res}{space 2}-.1336199{col 26}{space 2} .0828452{col 37}{space 1}   -1.61{col 46}{space 3}0.192{col 54}{space 4}-.3772167{col 67}{space 3} .1099769
{txt}{space 5}phealth {c |}{col 14}{res}{space 2} 1.806514{col 26}{space 2} .3191805{col 37}{space 1}    5.66{col 46}{space 3}0.001{col 54}{space 4} 1.059773{col 67}{space 3} 2.553256
{txt}{space 5}thealth {c |}{col 14}{res}{space 2}-.0426509{col 26}{space 2} .2302531{col 37}{space 1}   -0.19{col 46}{space 3}0.861{col 54}{space 4}-.6578226{col 67}{space 3} .5725207
{txt}{space 7}year2 {c |}{col 14}{res}{space 2}-.2773278{col 26}{space 2} .5681475{col 37}{space 1}   -0.49{col 46}{space 3}0.665{col 54}{space 4}-2.292791{col 67}{space 3} 1.738135
{txt}{space 7}year3 {c |}{col 14}{res}{space 2} .1072783{col 26}{space 2} .2328589{col 37}{space 1}    0.46{col 46}{space 3}0.671{col 54}{space 4}-.5601354{col 67}{space 3}  .774692
{txt}{space 7}year4 {c |}{col 14}{res}{space 2} .3297661{col 26}{space 2}  .336653{col 37}{space 1}    0.98{col 46}{space 3}0.398{col 54}{space 4}-.7280926{col 67}{space 3} 1.387625
{txt}{space 7}year5 {c |}{col 14}{res}{space 2} .3915019{col 26}{space 2} .3132417{col 37}{space 1}    1.25{col 46}{space 3}0.306{col 54}{space 4}-.6472282{col 67}{space 3} 1.430232
{txt}{space 7}year6 {c |}{col 14}{res}{space 2} .1598638{col 26}{space 2} .2356512{col 37}{space 1}    0.68{col 46}{space 3}0.522{col 54}{space 4}-.4148625{col 67}{space 3}   .73459
{txt}{space 7}year7 {c |}{col 14}{res}{space 2}-.1998482{col 26}{space 2} .4533376{col 37}{space 1}   -0.44{col 46}{space 3}0.678{col 54}{space 4}-1.369137{col 67}{space 3} .9694412
{txt}{space 7}year8 {c |}{col 14}{res}{space 2}-.2701407{col 26}{space 2} .5509324{col 37}{space 1}   -0.49{col 46}{space 3}0.655{col 54}{space 4} -1.95706{col 67}{space 3} 1.416778
{txt}{space 7}year9 {c |}{col 14}{res}{space 2} .5292986{col 26}{space 2} .5551653{col 37}{space 1}    0.95{col 46}{space 3}0.440{col 54}{space 4} -1.82785{col 67}{space 3} 2.886447
{txt}{space 6}year10 {c |}{col 14}{res}{space 2}  .009431{col 26}{space 2} .4352035{col 37}{space 1}    0.02{col 46}{space 3}0.984{col 54}{space 4}-1.200471{col 67}{space 3} 1.219333
{txt}{space 6}year11 {c |}{col 14}{res}{space 2} .0204177{col 26}{space 2} .3287686{col 37}{space 1}    0.06{col 46}{space 3}0.952{col 54}{space 4}-.7265051{col 67}{space 3} .7673406
{txt}{space 6}year12 {c |}{col 14}{res}{space 2} -1.24627{col 26}{space 2} .9248962{col 37}{space 1}   -1.35{col 46}{space 3}0.241{col 54}{space 4} -3.69335{col 67}{space 3} 1.200809
{txt}{space 6}year13 {c |}{col 14}{res}{space 2}-.8629522{col 26}{space 2} 1.013697{col 37}{space 1}   -0.85{col 46}{space 3}0.454{col 54}{space 4}-4.003956{col 67}{space 3} 2.278052
{txt}{space 6}year14 {c |}{col 14}{res}{space 2}  .735868{col 26}{space 2} .6719204{col 37}{space 1}    1.10{col 46}{space 3}0.351{col 54}{space 4}-1.358598{col 67}{space 3} 2.830334
{txt}{space 6}year15 {c |}{col 14}{res}{space 2} -.162481{col 26}{space 2} .5947387{col 37}{space 1}   -0.27{col 46}{space 3}0.794{col 54}{space 4}-1.614381{col 67}{space 3} 1.289419
{txt}{space 6}year16 {c |}{col 14}{res}{space 2} .6918026{col 26}{space 2} .4152349{col 37}{space 1}    1.67{col 46}{space 3}0.131{col 54}{space 4}-.2511735{col 67}{space 3} 1.634779
{txt}{space 6}year17 {c |}{col 14}{res}{space 2} .5468274{col 26}{space 2} .5092125{col 37}{space 1}    1.07{col 46}{space 3}0.319{col 54}{space 4}-.6621189{col 67}{space 3} 1.755774
{txt}{space 6}year18 {c |}{col 14}{res}{space 2} 1.965635{col 26}{space 2}  .847378{col 37}{space 1}    2.32{col 46}{space 3}0.107{col 54}{space 4}-.7920981{col 67}{space 3} 4.723367
{txt}{space 6}year19 {c |}{col 14}{res}{space 2} 1.393628{col 26}{space 2} .4921987{col 37}{space 1}    2.83{col 46}{space 3}0.024{col 54}{space 4} .2435187{col 67}{space 3} 2.543737
{txt}{space 6}year20 {c |}{col 14}{res}{space 2} .6822836{col 26}{space 2} .7411632{col 37}{space 1}    0.92{col 46}{space 3}0.393{col 54}{space 4}-1.139054{col 67}{space 3} 2.503621
{txt}{space 6}year21 {c |}{col 14}{res}{space 2} 1.966298{col 26}{space 2} .4795184{col 37}{space 1}    4.10{col 46}{space 3}0.003{col 54}{space 4} .8666393{col 67}{space 3} 3.065956
{txt}{space 6}year22 {c |}{col 14}{res}{space 2} 1.882999{col 26}{space 2} .5218173{col 37}{space 1}    3.61{col 46}{space 3}0.009{col 54}{space 4} .6406988{col 67}{space 3} 3.125298
{txt}{space 6}year23 {c |}{col 14}{res}{space 2} 2.760086{col 26}{space 2}  .650602{col 37}{space 1}    4.24{col 46}{space 3}0.011{col 54}{space 4} 1.001076{col 67}{space 3} 4.519096
{txt}{space 6}year24 {c |}{col 14}{res}{space 2} 1.149818{col 26}{space 2} .9744754{col 37}{space 1}    1.18{col 46}{space 3}0.288{col 54}{space 4}-1.303693{col 67}{space 3} 3.603328
{txt}{space 6}year25 {c |}{col 14}{res}{space 2} 3.645145{col 26}{space 2} .7053567{col 37}{space 1}    5.17{col 46}{space 3}0.005{col 54}{space 4} 1.781901{col 67}{space 3} 5.508389
{txt}{space 6}year26 {c |}{col 14}{res}{space 2} 3.026871{col 26}{space 2} .5017864{col 37}{space 1}    6.03{col 46}{space 3}0.000{col 54}{space 4} 1.883719{col 67}{space 3} 4.170023
{txt}{space 6}year27 {c |}{col 14}{res}{space 2} 2.671145{col 26}{space 2} .7892693{col 37}{space 1}    3.38{col 46}{space 3}0.027{col 54}{space 4} .5033626{col 67}{space 3} 4.838927
{txt}{space 6}year28 {c |}{col 14}{res}{space 2} 4.722542{col 26}{space 2} .9397815{col 37}{space 1}    5.03{col 46}{space 3}0.008{col 54}{space 4} 2.067596{col 67}{space 3} 7.377487
{txt}{space 6}year29 {c |}{col 14}{res}{space 2} 3.398825{col 26}{space 2}  .561906{col 37}{space 1}    6.05{col 46}{space 3}0.000{col 54}{space 4} 2.116665{col 67}{space 3} 4.680986
{txt}{space 6}year30 {c |}{col 14}{res}{space 2}   4.4138{col 26}{space 2} .6797701{col 37}{space 1}    6.49{col 46}{space 3}0.001{col 54}{space 4} 2.683736{col 67}{space 3} 6.143865
{txt}{space 6}year31 {c |}{col 14}{res}{space 2} 4.039753{col 26}{space 2}  .504299{col 37}{space 1}    8.01{col 46}{space 3}0.000{col 54}{space 4} 2.889814{col 67}{space 3} 5.189691
{txt}{space 6}year32 {c |}{col 14}{res}{space 2} 4.211855{col 26}{space 2} .5718499{col 37}{space 1}    7.37{col 46}{space 3}0.000{col 54}{space 4} 2.868326{col 67}{space 3} 5.555383
{txt}{space 6}year33 {c |}{col 14}{res}{space 2} 3.391781{col 26}{space 2} .8436745{col 37}{space 1}    4.02{col 46}{space 3}0.008{col 54}{space 4} 1.289123{col 67}{space 3} 5.494439
{txt}{space 6}year34 {c |}{col 14}{res}{space 2}  1.42731{col 26}{space 2} 1.986119{col 37}{space 1}    0.72{col 46}{space 3}0.511{col 54}{space 4}-4.042527{col 67}{space 3} 6.897147
{txt}{space 6}year35 {c |}{col 14}{res}{space 2}  6.00726{col 26}{space 2} 1.061911{col 37}{space 1}    5.66{col 46}{space 3}0.006{col 54}{space 4} 2.993717{col 67}{space 3} 9.020803
{txt}{space 6}year36 {c |}{col 14}{res}{space 2} 4.905693{col 26}{space 2} .5069226{col 37}{space 1}    9.68{col 46}{space 3}0.000{col 54}{space 4} 3.738248{col 67}{space 3} 6.073139
{txt}{space 6}year37 {c |}{col 14}{res}{space 2} 4.791578{col 26}{space 2}  .603473{col 37}{space 1}    7.94{col 46}{space 3}0.000{col 54}{space 4} 3.377266{col 67}{space 3} 6.205889
{txt}{space 6}year38 {c |}{col 14}{res}{space 2} 7.229798{col 26}{space 2} 1.528705{col 37}{space 1}    4.73{col 46}{space 3}0.028{col 54}{space 4} 1.700871{col 67}{space 3} 12.75872
{txt}{space 6}year39 {c |}{col 14}{res}{space 2} 5.752604{col 26}{space 2} .7701827{col 37}{space 1}    7.47{col 46}{space 3}0.002{col 54}{space 4} 3.577498{col 67}{space 3}  7.92771
{txt}{space 6}year40 {c |}{col 14}{res}{space 2} 7.351602{col 26}{space 2} 1.262307{col 37}{space 1}    5.82{col 46}{space 3}0.011{col 54}{space 4} 3.295848{col 67}{space 3} 11.40736
{txt}{space 6}year41 {c |}{col 14}{res}{space 2}  6.55195{col 26}{space 2} .5032809{col 37}{space 1}   13.02{col 46}{space 3}0.000{col 54}{space 4} 5.399988{col 67}{space 3} 7.703912
{txt}{space 6}year42 {c |}{col 14}{res}{space 2} 5.570141{col 26}{space 2} .9586227{col 37}{space 1}    5.81{col 46}{space 3}0.002{col 54}{space 4} 3.100735{col 67}{space 3} 8.039548
{txt}{space 6}year43 {c |}{col 14}{res}{space 2} 7.394034{col 26}{space 2} .7167507{col 37}{space 1}   10.32{col 46}{space 3}0.000{col 54}{space 4} 5.631247{col 67}{space 3} 9.156821
{txt}{space 6}year44 {c |}{col 14}{res}{space 2} 7.393907{col 26}{space 2} .6823415{col 37}{space 1}   10.84{col 46}{space 3}0.000{col 54}{space 4} 5.630236{col 67}{space 3} 9.157578
{txt}{space 6}year45 {c |}{col 14}{res}{space 2} 11.59306{col 26}{space 2} 2.289422{col 37}{space 1}    5.06{col 46}{space 3}0.154{col 54}{space 4}-31.92613{col 67}{space 3} 55.11224
{txt}{space 7}_cons {c |}{col 14}{res}{space 2} 61.12358{col 26}{space 2} 2.435045{col 37}{space 1}   25.10{col 46}{space 3}0.000{col 54}{space 4}  55.4699{col 67}{space 3} 66.77725
{txt}{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
     sigma_u {c |} {res} 1.1278122
     {txt}sigma_e {c |} {res} .44123059
         {txt}rho {c |} {res} .86725864{txt}   (fraction of variance due to u_i)
{hline 13}{c BT}{hline 64}
{p 0 6 0 79}{help mi_xtreg_note:Note}: {cmd:sigma_u} and {cmd:sigma_e} are combined in the original metric.{p_end}
{res}{txt}
{com}. 
. how_many_imputations
Fraction of missing information (95% CI):  0.94 (0.88, 0.98)
Imputations in pilot:{col 44}10
Imputations needed:{col 44}192
Imputations to add:{col 44}182
{txt}
{com}. 
. // Imputation
. mi impute mvn le ts10 edu phealth thealth im  = gdp gdpsq id2-id12 year2-year45, prior(jeffreys) ///
>     burnin(500) initmcmc(em, iterate(500)) add(`r(add_M)')
{res}
{txt}Performing EM optimization:
{txt}  observed log posterior = {res} 2041.0456{txt} at iteration 130
{res}
{txt}Performing MCMC data augmentation ... 
{res}{txt}
Multivariate imputation{txt}{col 45}{ralign 12:Imputations }= {res}     192
{txt}Multivariate normal regression{txt}{col 45}{ralign 12:added }= {res}     182
{txt}Imputed: {it:m}=11 through {it:m}=192{txt}{col 45}{ralign 12:updated }= {res}       0

{txt}Prior: Jeffreys{txt}{col 45}{ralign 12:Iterations }= {res}   18600
{txt}{col 45}{ralign 12:burn-in }= {res}     500
{txt}{col 45}{ralign 12:between }= {res}     100

{txt}{hline 19}{c TT}{hline 35}{hline 11}
{txt}{col 20}{c |}{center 46:  Observations per {it:m}}
{txt}{col 20}{c LT}{hline 35}{c TT}{hline 10}
{txt}{col 11}Variable {c |}{ralign 12:Complete }{ralign 13:Incomplete }{ralign 10:Imputed }{c |}{ralign 10:Total}
{hline 19}{c +}{hline 35}{c +}{hline 10}
{txt}{ralign 19:le }{c |}{res}        482           58        58 {txt}{c |}{res}       540
{txt}{ralign 19:ts10 }{c |}{res}        410          130       130 {txt}{c |}{res}       540
{txt}{ralign 19:edu }{c |}{res}        108          432       432 {txt}{c |}{res}       540
{txt}{ralign 19:phealth }{c |}{res}        420          120       120 {txt}{c |}{res}       540
{txt}{ralign 19:thealth }{c |}{res}        420          120       120 {txt}{c |}{res}       540
{txt}{ralign 19:im }{c |}{res}        507           33        33 {txt}{c |}{res}       540
{txt}{hline 19}{c BT}{hline 35}{c BT}{hline 10}
{p 0 1 1 66}(Complete + Incomplete = Total; Imputed is the minimum across {it:m}
 of the number of filled-in observations.){p_end}

{com}.         
. // Analysis
. mi xtset id year
{res}
{col 1}{txt:Panel variable: }{res:id}{txt: (strongly balanced)}
{p 1 16 2}{txt:Time variable: }{res:year}{txt:, }{res:{bind:1960}}{txt: to }{res:{bind:2004}}{p_end}
{txt}{col 10}Delta: {res}1 unit
{txt}
{com}. mi estimate: xtreg le ts10 gdp gdpsq edu phealth thealth year2-year45, fe vce(cluster id)
{res}
{txt}Multiple-imputation estimates{col 49}Imputations{col 67}= {res}       192
{txt}Fixed-effects (within) regression{col 49}Number of obs{col 67}= {res}       540

{txt}Group variable: {res:id}{col 49}Number of groups{col 67}= {res}        12
{txt}{col 49}Obs per group:
{col 49}              min{col 67}= {res}        45
{txt}{col 49}              avg{col 67}= {res}      45.0
{txt}{col 49}              max{col 67}= {res}        45
{txt}{col 49}Average RVI{col 67}= {res}    4.4399
{txt}{col 49}Largest FMI{col 67}= {res}    0.9231
{txt}{col 49}Complete DF{col 67}= {res}        11
{txt}DF adjustment:{ralign 15: {res:Small sample}}{col 49}DF:     min{col 67}= {res}      1.18
{txt}{col 49}        avg{col 67}= {res}      3.68
{txt}{col 49}        max{col 67}= {res}      8.53
{txt}Model F test:{ralign 16: {res:Equal FMI}}{col 49}F({res}  50{txt},{res}   79.1{txt}){col 67}= {res}     27.96
{txt}Within VCE type: {ralign 12:{res:Robust}}{col 49}Prob > F{col 67}= {res}    0.0000

{txt}{ralign 78:(Within VCE adjusted for {res:12} clusters in {res:id})}
{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}          le{col 14}{c |} Coefficient{col 26}  Std. err.{col 38}      t{col 46}   P>|t|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 8}ts10 {c |}{col 14}{res}{space 2} .0519963{col 26}{space 2}  .035254{col 37}{space 1}    1.47{col 46}{space 3}0.180{col 54}{space 4}-.0298348{col 67}{space 3} .1338275
{txt}{space 9}gdp {c |}{col 14}{res}{space 2} .0419268{col 26}{space 2} .0826651{col 37}{space 1}    0.51{col 46}{space 3}0.630{col 54}{space 4}-.1588957{col 67}{space 3} .2427493
{txt}{space 7}gdpsq {c |}{col 14}{res}{space 2}-.0066709{col 26}{space 2} .0022887{col 37}{space 1}   -2.91{col 46}{space 3}0.021{col 54}{space 4}-.0120097{col 67}{space 3}-.0013321
{txt}{space 9}edu {c |}{col 14}{res}{space 2}-.1071212{col 26}{space 2} .0932379{col 37}{space 1}   -1.15{col 46}{space 3}0.343{col 54}{space 4}-.4245761{col 67}{space 3} .2103337
{txt}{space 5}phealth {c |}{col 14}{res}{space 2} 1.798126{col 26}{space 2} .3027082{col 37}{space 1}    5.94{col 46}{space 3}0.000{col 54}{space 4} 1.103254{col 67}{space 3} 2.492998
{txt}{space 5}thealth {c |}{col 14}{res}{space 2}-.0756922{col 26}{space 2} .2055116{col 37}{space 1}   -0.37{col 46}{space 3}0.725{col 54}{space 4}-.5758909{col 67}{space 3} .4245065
{txt}{space 7}year2 {c |}{col 14}{res}{space 2}-2.724839{col 26}{space 2} 3.501197{col 37}{space 1}   -0.78{col 46}{space 3}0.514{col 54}{space 4}-17.05636{col 67}{space 3} 11.60669
{txt}{space 7}year3 {c |}{col 14}{res}{space 2}-.8627531{col 26}{space 2} 1.266421{col 37}{space 1}   -0.68{col 46}{space 3}0.562{col 54}{space 4}-6.012542{col 67}{space 3} 4.287036
{txt}{space 7}year4 {c |}{col 14}{res}{space 2}-2.036253{col 26}{space 2} 3.070898{col 37}{space 1}   -0.66{col 46}{space 3}0.588{col 54}{space 4}-18.41149{col 67}{space 3} 14.33898
{txt}{space 7}year5 {c |}{col 14}{res}{space 2}-1.881748{col 26}{space 2} 2.299735{col 37}{space 1}   -0.82{col 46}{space 3}0.479{col 54}{space 4}-9.648134{col 67}{space 3} 5.884639
{txt}{space 7}year6 {c |}{col 14}{res}{space 2} .1630771{col 26}{space 2} .2281952{col 37}{space 1}    0.71{col 46}{space 3}0.498{col 54}{space 4}-.3769743{col 67}{space 3} .7031285
{txt}{space 7}year7 {c |}{col 14}{res}{space 2} .6254652{col 26}{space 2} 1.218911{col 37}{space 1}    0.51{col 46}{space 3}0.677{col 54}{space 4}-7.475536{col 67}{space 3} 8.726466
{txt}{space 7}year8 {c |}{col 14}{res}{space 2} 2.003981{col 26}{space 2} 3.989381{col 37}{space 1}    0.50{col 46}{space 3}0.691{col 54}{space 4}-30.97747{col 67}{space 3} 34.98543
{txt}{space 7}year9 {c |}{col 14}{res}{space 2}-1.125384{col 26}{space 2} 1.763862{col 37}{space 1}   -0.64{col 46}{space 3}0.585{col 54}{space 4}-8.276836{col 67}{space 3} 6.026069
{txt}{space 6}year10 {c |}{col 14}{res}{space 2}-.3379089{col 26}{space 2} 1.139331{col 37}{space 1}   -0.30{col 46}{space 3}0.799{col 54}{space 4}-6.164371{col 67}{space 3} 5.488554
{txt}{space 6}year11 {c |}{col 14}{res}{space 2} .0255998{col 26}{space 2}  .354327{col 37}{space 1}    0.07{col 46}{space 3}0.944{col 54}{space 4}-.7890767{col 67}{space 3} .8402763
{txt}{space 6}year12 {c |}{col 14}{res}{space 2} .9737664{col 26}{space 2} 2.696186{col 37}{space 1}    0.36{col 46}{space 3}0.772{col 54}{space 4}-22.91395{col 67}{space 3} 24.86148
{txt}{space 6}year13 {c |}{col 14}{res}{space 2}-.9173463{col 26}{space 2} 1.420262{col 37}{space 1}   -0.65{col 46}{space 3}0.565{col 54}{space 4}-5.473571{col 67}{space 3} 3.638878
{txt}{space 6}year14 {c |}{col 14}{res}{space 2} .7741894{col 26}{space 2} 1.149533{col 37}{space 1}    0.67{col 46}{space 3}0.576{col 54}{space 4}-4.668298{col 67}{space 3} 6.216676
{txt}{space 6}year15 {c |}{col 14}{res}{space 2}    .6914{col 26}{space 2} 2.660938{col 37}{space 1}    0.26{col 46}{space 3}0.831{col 54}{space 4} -19.7853{col 67}{space 3}  21.1681
{txt}{space 6}year16 {c |}{col 14}{res}{space 2} .7033273{col 26}{space 2}  .427824{col 37}{space 1}    1.64{col 46}{space 3}0.137{col 54}{space 4}-.2740985{col 67}{space 3} 1.680753
{txt}{space 6}year17 {c |}{col 14}{res}{space 2}-.9508161{col 26}{space 2} 1.890579{col 37}{space 1}   -0.50{col 46}{space 3}0.649{col 54}{space 4}-6.859224{col 67}{space 3} 4.957592
{txt}{space 6}year18 {c |}{col 14}{res}{space 2}-2.508508{col 26}{space 2} 5.619525{col 37}{space 1}   -0.45{col 46}{space 3}0.706{col 54}{space 4} -31.4616{col 67}{space 3} 26.44459
{txt}{space 6}year19 {c |}{col 14}{res}{space 2}-.1425052{col 26}{space 2} 1.979496{col 37}{space 1}   -0.07{col 46}{space 3}0.948{col 54}{space 4}-7.623849{col 67}{space 3} 7.338838
{txt}{space 6}year20 {c |}{col 14}{res}{space 2} 5.889573{col 26}{space 2} 4.986619{col 37}{space 1}    1.18{col 46}{space 3}0.362{col 54}{space 4}-16.11618{col 67}{space 3} 27.89533
{txt}{space 6}year21 {c |}{col 14}{res}{space 2} 1.937962{col 26}{space 2} .4733702{col 37}{space 1}    4.09{col 46}{space 3}0.003{col 54}{space 4} .8559321{col 67}{space 3} 3.019991
{txt}{space 6}year22 {c |}{col 14}{res}{space 2} 3.595649{col 26}{space 2} 2.589808{col 37}{space 1}    1.39{col 46}{space 3}0.322{col 54}{space 4}-9.995835{col 67}{space 3} 17.18713
{txt}{space 6}year23 {c |}{col 14}{res}{space 2}-.7824271{col 26}{space 2}  3.34706{col 37}{space 1}   -0.23{col 46}{space 3}0.832{col 54}{space 4}-12.24071{col 67}{space 3} 10.67585
{txt}{space 6}year24 {c |}{col 14}{res}{space 2}-.7071666{col 26}{space 2} 3.806491{col 37}{space 1}   -0.19{col 46}{space 3}0.869{col 54}{space 4}-16.09503{col 67}{space 3} 14.68069
{txt}{space 6}year25 {c |}{col 14}{res}{space 2} 2.844348{col 26}{space 2} 2.336882{col 37}{space 1}    1.22{col 46}{space 3}0.398{col 54}{space 4}-14.36429{col 67}{space 3} 20.05299
{txt}{space 6}year26 {c |}{col 14}{res}{space 2} 3.011107{col 26}{space 2} .5074417{col 37}{space 1}    5.93{col 46}{space 3}0.000{col 54}{space 4}  1.85357{col 67}{space 3} 4.168643
{txt}{space 6}year27 {c |}{col 14}{res}{space 2}  6.27921{col 26}{space 2} 4.061721{col 37}{space 1}    1.55{col 46}{space 3}0.279{col 54}{space 4}-13.87915{col 67}{space 3} 26.43757
{txt}{space 6}year28 {c |}{col 14}{res}{space 2} 1.832579{col 26}{space 2}   2.4129{col 37}{space 1}    0.76{col 46}{space 3}0.519{col 54}{space 4}-7.509601{col 67}{space 3} 11.17476
{txt}{space 6}year29 {c |}{col 14}{res}{space 2} 2.360252{col 26}{space 2} 1.577371{col 37}{space 1}    1.50{col 46}{space 3}0.218{col 54}{space 4}-2.257724{col 67}{space 3} 6.978228
{txt}{space 6}year30 {c |}{col 14}{res}{space 2} 1.600776{col 26}{space 2} 2.438572{col 37}{space 1}    0.66{col 46}{space 3}0.557{col 54}{space 4}-6.028134{col 67}{space 3} 9.229685
{txt}{space 6}year31 {c |}{col 14}{res}{space 2} 4.016684{col 26}{space 2}   .52072{col 37}{space 1}    7.71{col 46}{space 3}0.000{col 54}{space 4}  2.82234{col 67}{space 3} 5.211028
{txt}{space 6}year32 {c |}{col 14}{res}{space 2}  3.90154{col 26}{space 2}  .896138{col 37}{space 1}    4.35{col 46}{space 3}0.013{col 54}{space 4} 1.368636{col 67}{space 3} 6.434444
{txt}{space 6}year33 {c |}{col 14}{res}{space 2} 2.836124{col 26}{space 2} 2.207116{col 37}{space 1}    1.28{col 46}{space 3}0.313{col 54}{space 4}-5.560295{col 67}{space 3} 11.23254
{txt}{space 6}year34 {c |}{col 14}{res}{space 2} 5.132815{col 26}{space 2} 1.674856{col 37}{space 1}    3.06{col 46}{space 3}0.098{col 54}{space 4}-2.461069{col 67}{space 3}  12.7267
{txt}{space 6}year35 {c |}{col 14}{res}{space 2} 3.170781{col 26}{space 2} 2.696046{col 37}{space 1}    1.18{col 46}{space 3}0.365{col 54}{space 4}-8.913241{col 67}{space 3}  15.2548
{txt}{space 6}year36 {c |}{col 14}{res}{space 2}  4.85671{col 26}{space 2} .5108731{col 37}{space 1}    9.51{col 46}{space 3}0.000{col 54}{space 4} 3.679758{col 67}{space 3} 6.033663
{txt}{space 6}year37 {c |}{col 14}{res}{space 2}  2.84126{col 26}{space 2} 3.470626{col 37}{space 1}    0.82{col 46}{space 3}0.501{col 54}{space 4}-12.50053{col 67}{space 3} 18.18305
{txt}{space 6}year38 {c |}{col 14}{res}{space 2} 6.469645{col 26}{space 2} 3.065056{col 37}{space 1}    2.11{col 46}{space 3}0.245{col 54}{space 4}-19.34941{col 67}{space 3}  32.2887
{txt}{space 6}year39 {c |}{col 14}{res}{space 2} 4.560312{col 26}{space 2} 1.677505{col 37}{space 1}    2.72{col 46}{space 3}0.079{col 54}{space 4}-1.040112{col 67}{space 3} 10.16074
{txt}{space 6}year40 {c |}{col 14}{res}{space 2} .7393732{col 26}{space 2} 5.645292{col 37}{space 1}    0.13{col 46}{space 3}0.906{col 54}{space 4}-19.64868{col 67}{space 3} 21.12743
{txt}{space 6}year41 {c |}{col 14}{res}{space 2} 6.508489{col 26}{space 2} .5311619{col 37}{space 1}   12.25{col 46}{space 3}0.000{col 54}{space 4} 5.279463{col 67}{space 3} 7.737515
{txt}{space 6}year42 {c |}{col 14}{res}{space 2} 5.102519{col 26}{space 2} 2.093298{col 37}{space 1}    2.44{col 46}{space 3}0.109{col 54}{space 4} -2.33925{col 67}{space 3} 12.54429
{txt}{space 6}year43 {c |}{col 14}{res}{space 2} 11.17219{col 26}{space 2} 4.483894{col 37}{space 1}    2.49{col 46}{space 3}0.119{col 54}{space 4}-6.513069{col 67}{space 3} 28.85744
{txt}{space 6}year44 {c |}{col 14}{res}{space 2} 6.201245{col 26}{space 2} 1.769751{col 37}{space 1}    3.50{col 46}{space 3}0.068{col 54}{space 4}-1.074712{col 67}{space 3}  13.4772
{txt}{space 6}year45 {c |}{col 14}{res}{space 2} 5.248724{col 26}{space 2}  3.41395{col 37}{space 1}    1.54{col 46}{space 3}0.280{col 54}{space 4}-11.50221{col 67}{space 3} 21.99966
{txt}{space 7}_cons {c |}{col 14}{res}{space 2}  60.6747{col 26}{space 2} 2.440459{col 37}{space 1}   24.86{col 46}{space 3}0.000{col 54}{space 4} 55.02952{col 67}{space 3} 66.31987
{txt}{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
     sigma_u {c |} {res} 1.1444137
     {txt}sigma_e {c |} {res} .44328635
         {txt}rho {c |} {res} .86953614{txt}   (fraction of variance due to u_i)
{hline 13}{c BT}{hline 64}
{p 0 6 0 79}{help mi_xtreg_note:Note}: {cmd:sigma_u} and {cmd:sigma_e} are combined in the original metric.{p_end}
{res}{txt}
{com}. 
. log close
      {txt}name:  {res}<unnamed>
       {txt}log:  {res}\\file\Usersw$\wrr15\Home\My Documents\My Files\WU\CHAPTER2\blogresults.smcl
  {txt}log type:  {res}smcl
 {txt}closed on:  {res}11 Jan 2022, 08:48:31
{txt}{.-}
{smcl}
{txt}{sf}{ul off}